package procon;

import redis.clients.jedis.Jedis;

/**
 * Created by li on 2016/4/16.
 */
public class Producer {
    private Jedis jedis;

    public Producer(Jedis jedis) {
        this.jedis = jedis;
    }

    public void produce(String key, String value) {
        jedis.lpush(key, value);
    }
}
